<template>
  <div id="personal-site">
    <NavBar title="收款方式管理" left-arrow @click-left="onClickLeft" />
    <div class="site-body">
      <div class="site-box">
        <div class="site-picture">
          <img src="" alt="" />
        </div>
        <div class="site-data">
          <div class="site-datamini">
            <div>币种:BTC</div>
            <div>地址:66666</div>
            <div>日期:2021/8/2</div>
            <div>00:00:00</div>
          </div>
        </div>
        <div class="site-btn">
          <div class="btn">删除</div>
        </div>
      </div>
    </div>

    <div class="site-body">
      <div class="site-box">
        <div class="site-picture">
          <img src="" alt="" />
        </div>
        <div class="site-data">
          <div class="site-datamini">
            <div>币种:BTC</div>
            <div>地址:66666</div>
            <div>日期:2021/8/2</div>
            <div>00:00:00</div>
          </div>
        </div>
        <div class="site-btn">
          <div class="btn">删除</div>
        </div>
      </div>
    </div>

    <div class="foot-btn" @click="footbtn">添加钱包地址</div>
  </div>
</template>
<script>
import { NavBar } from "vant";
export default {
  components: {
    NavBar,
  },

  data() {
    return {};
  },

  // 创建时
  created() {},

  // 方法
  methods: {
    // 跳出
    onClickLeft() {
      console.log("跳出");
      this.$router.go(-1);
    },

    // 添加钱包地址 
    footbtn() {
      this.$router.push({
        path: "./sitewallet",
      })
    }





    // 网络请求
  },
};
</script>
<style lang="less" scoped>
#personal-site {
  width: 100%;
  height: 100vh;
  background-color: #f7f6fb;
  .site-body {
    background-color: white;
    padding-top: 10px;
    .site-box {
      display: flex;
      background-color: white;
    
      .site-picture {
        width: 120px;
        height: 120px;
        img {
          width: 100px;
          height: 100px;
          margin: 10px;
        }
      }
      .site-data {
        width: 180px;
        height: 120px;
        font-size: 14px;
        color: #303133;
        font-weight: 600;
        .site-datamini {
          width: 150px;
          height: 80px;
          margin: 20px 10px;
        }
      }
      .site-btn {
        width: 100px;
        height: 120px;
        .btn {
          width: 45px;
          height: 45px;
          font-size: 14px;
          line-height: 45px;
          text-align: center;
          background-color: #cd4e65;
          color: #fff;
          border-radius: 5px;
          margin: 20px;
        }
      }
    }
  }
  .foot-btn {
    width: 355px;
    height: 40px;
    background-color: #588bf7;
    margin: auto 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    position: fixed;
    bottom: 20px;
  }
}
</style>
